package monitoring.sla.latency;

import java.util.List;

import monitoring.sla.MonitoringComponent;
import monitoring.sla.MonitoringContext;

import store.hibernate.Event;

public class MonitoringLatency extends MonitoringComponent{

	@Override
	public void processEvent(Event e, MonitoringContext mc) {
		List<LatencyManager> lList=mc.getLatencyList();
		if ( lList != null ){
			for(int i=0;i<lList.size();i++)
				lList.get(i).makeTrans(e);
		}
		if(next!=null)
			next.processEvent(e, mc);
	}

}
